package com.entrogy.service;

import com.entrogy.bean.*;

import java.util.Date;
import java.util.List;

/**
 * @ClassName MaintenanceService
 * @Description
 * @Author luoxingjiang
 * @Date 2019-12-11 上午 11:22
 * @Version 1.0
 **/
public interface MaintenanceService {
    /**
     * 按时段、学校查询功能使用情况
     * @param schoolCode
     * @param startDate
     * @param endDate
     * @return
     */
    MaintenanceUseOverViewEntity getUseInfo(Integer schoolCode, Date startDate, Date endDate);

    /**
     * 按时段、学校关注情况
     * @param schoolCode
     * @param startDate
     * @param endDate
     * @return
     */
    MaintenanceFocusOverViewEntity getFocusInfo(Integer schoolCode, Date startDate, Date endDate);

    /**
     * 按时段、学校登录情况
     * @param schoolCode
     * @param startDate
     * @param endDate
     * @return
     */
    MaintenanceLoginOverViewEntity getLoginInfo(Integer schoolCode, Date startDate, Date endDate);

    /**
     * 按时段、学校注册情况
     * @param schoolCode
     * @param startDate
     * @param endDate
     * @return
     */
    MaintenanceRegisterOverViewEntity getRegisterInfo(Integer schoolCode, Date startDate, Date endDate);

    /**
     * 查询家长
     * @param schoolCode
     * @param parentPhone
     * @param parentName
     * @return
     */
    List<MaintenanceParentEntity> listParent(Integer schoolCode, String parentPhone, String parentName);

    /**
     * 查询学校已发信息
     * @param schoolCode
     * @return
     */
    List<MaintenanceMessageEntity> listSchoolMessage(Integer schoolCode);

    /**
     * 查询学校信息
     * @param schoolCode
     * @return
     */
    MaintenanceSchoolEntity getSchoolInfo(Integer schoolCode);
}
